.class public Lcom/waiqin365/lightapp/order/OrderCartActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/waiqin365/compons/view/d;
.implements Lcom/waiqin365/lightapp/product/c/e;


# static fields
.field private static final n:Ljava/lang/String;


# instance fields
.field private A:Landroid/view/View;

.field private B:Landroid/view/View;

.field private C:Landroid/view/View;

.field private D:Landroid/view/View;

.field private E:Landroid/view/View;

.field private F:Landroid/view/View;

.field private G:Ljava/lang/String;

.field private H:Z

.field private I:Lcom/waiqin365/lightapp/view/dj;

.field private a:Landroid/widget/ImageView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/ListView;

.field private e:Lcom/waiqin365/lightapp/product/a/x;

.field private f:Ljava/util/List;

.field private g:Lcom/waiqin365/compons/view/c;

.field private h:Lcom/waiqin365/compons/view/c;

.field private i:Lcom/waiqin365/compons/view/c;

.field private j:Lcom/waiqin365/base/db/jxccache/g;

.field private k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

.field private l:Landroid/view/View;

.field private m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

.field private o:Landroid/widget/Button;

.field private p:Landroid/view/View;

.field private q:Landroid/view/View;

.field private r:Landroid/view/View;

.field private s:Z

.field private t:Z

.field private u:Z

.field private v:Z

.field private w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

.field private x:Landroid/view/View;

.field private y:Landroid/os/Handler;

.field private z:Landroid/view/View;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    const v1, 0x7f08006f

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->n:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 3

    const/4 v2, 0x1

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->s:Z

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->t:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->u:Z

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->v:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->H:Z

    new-instance v0, Lcom/waiqin365/lightapp/order/p;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/order/p;-><init>(Lcom/waiqin365/lightapp/order/OrderCartActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->I:Lcom/waiqin365/lightapp/view/dj;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private a()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/order/i;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/order/i;-><init>(Lcom/waiqin365/lightapp/order/OrderCartActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->y:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/order/OrderCartActivity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/order/OrderCartActivity;Ljava/util/ArrayList;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->a(Ljava/util/ArrayList;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;->setCmId(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    const v1, 0x7f08060c

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;->setLabel(Ljava/lang/CharSequence;)V

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->showProgressDialog(Ljava/lang/String;)V

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "storeId"

    invoke-virtual {v0, v1, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "page.recPerPage"

    const-string/jumbo v2, "10"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "menuViewAll"

    const-string/jumbo v2, "1"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "shortcutKey"

    const-string/jumbo v2, "all"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "_token"

    const-string/jumbo v2, ""

    invoke-static {p0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/waiqin365/lightapp/kehu/a/a/bk;

    invoke-direct {v2, v1, v0}, Lcom/waiqin365/lightapp/kehu/a/a/bk;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/a/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->y:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/kehu/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kehu/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/b;->start()V

    return-void
.end method

.method private a(Ljava/util/ArrayList;)V
    .locals 5

    const/4 v3, 0x0

    const/4 v1, 0x0

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_4

    invoke-static {p0}, Lcom/waiqin365/lightapp/order/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/order/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/d/a;->f()Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->l:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v2, 0x1

    if-ne v0, v2, :cond_1

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;->setSelectedCustomer(Lcom/waiqin365/lightapp/kehu/b/am;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "order"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "order"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/order/c/a;

    move v2, v1

    :goto_1
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, v0, Lcom/waiqin365/lightapp/order/c/a;->z:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, ""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ""

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    invoke-virtual {p1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;->setSelectedCustomer(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_0

    :cond_2
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;->setSelectedCustomer(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->l:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;->setSelectedCustomer(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/order/OrderCartActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->u:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    return-object v0
.end method

.method private b()V
    .locals 3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->dismissProgressDialog()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/order/b/a/i;

    invoke-direct {v1, v0}, Lcom/waiqin365/lightapp/order/b/a/i;-><init>(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/order/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->y:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/order/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/order/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/b/b;->start()V

    return-void
.end method

.method private b(Ljava/lang/String;)V
    .locals 7

    const/4 v6, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :goto_0
    return-void

    :cond_0
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->u:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->h()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    const v0, 0x7f0806d0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    new-instance v1, Landroid/content/Intent;

    const-class v0, Lcom/waiqin365/lightapp/product/ProductSelectActivity;

    invoke-direct {v1, p0, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v2, Lcom/waiqin365/lightapp/product/d/g;

    invoke-direct {v2}, Lcom/waiqin365/lightapp/product/d/g;-><init>()V

    sget-object v0, Lcom/waiqin365/lightapp/product/s;->a:Lcom/waiqin365/lightapp/product/s;

    iput-object v0, v2, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    iput-boolean v6, v2, Lcom/waiqin365/lightapp/product/d/g;->j:Z

    iput-object p1, v2, Lcom/waiqin365/lightapp/product/d/g;->m:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/a;->a()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/waiqin365/lightapp/product/d/g;->c:Ljava/lang/String;

    iput-boolean v6, v2, Lcom/waiqin365/lightapp/product/d/g;->f:Z

    iget-object v0, v2, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/order/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/order/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/d/a;->l()Z

    move-result v0

    iput-boolean v0, v2, Lcom/waiqin365/lightapp/product/d/g;->k:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/waiqin365/base/db/jxccache/f;->b(Ljava/lang/String;)Ljava/util/List;

    move-result-object v3

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/o;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_3
    :goto_1
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    iget-object v5, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v5}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v5

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Lcom/waiqin365/base/db/jxccache/f;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/b;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/b;->g()Z

    move-result v5

    if-nez v5, :cond_3

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v5

    iget-object v5, v5, Lcom/waiqin365/lightapp/product/o;->a:Ljava/util/List;

    invoke-interface {v5, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_4
    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v4, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v4}, Lcom/waiqin365/base/db/jxccache/f;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/order/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/order/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/d/a;->l()Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, v2, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/db/jxccache/f;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v0, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_5
    :goto_2
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    iput-object v0, v2, Lcom/waiqin365/lightapp/product/d/g;->e:Ljava/lang/Class;

    new-instance v0, Lcom/waiqin365/lightapp/product/d/j;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/product/d/j;-><init>()V

    iput-object v0, v2, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v0, v2, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    const/4 v3, 0x0

    iput-boolean v3, v0, Lcom/waiqin365/lightapp/product/d/j;->m:Z

    iput-boolean v6, v2, Lcom/waiqin365/lightapp/product/d/g;->a:Z

    iput-boolean v6, v2, Lcom/waiqin365/lightapp/product/d/g;->b:Z

    const-string/jumbo v0, "param"

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const/16 v0, 0x457

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto/16 :goto_0

    :cond_6
    if-eqz v3, :cond_5

    iget-object v0, v2, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    invoke-interface {v0, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    goto :goto_2
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/order/OrderCartActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->v:Z

    return p1
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private c()V
    .locals 5

    new-instance v0, Lcom/waiqin365/lightapp/product/a/x;

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    iget-object v3, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v3}, Lcom/waiqin365/lightapp/order/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/order/d/a;

    move-result-object v3

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/order/d/a;->l()Z

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/waiqin365/lightapp/product/a/x;-><init>(Landroid/content/Context;Ljava/util/List;ZLjava/lang/String;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e:Lcom/waiqin365/lightapp/product/a/x;

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e:Lcom/waiqin365/lightapp/product/a/x;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/product/a/x;->a(Lcom/waiqin365/lightapp/product/c/e;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->d:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e:Lcom/waiqin365/lightapp/product/a/x;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->d:Landroid/widget/ListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setCacheColorHint(I)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->s:Z

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmName"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "seniorVisitId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmId"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmName"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmLocation"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v1

    if-nez v1, :cond_0

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v2, v0, v3}, Lcom/waiqin365/base/db/jxccache/f;->a(Lcom/waiqin365/lightapp/kehu/b/am;Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Lcom/waiqin365/base/db/jxccache/a;)Z

    :cond_0
    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->a(Ljava/lang/String;)V

    :cond_1
    :goto_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->j()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f()V

    return-void

    :cond_2
    const v0, 0x7f0806ac

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->showToast(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->back()V

    goto :goto_0

    :cond_3
    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/jxccache/f;->b(Lcom/waiqin365/base/db/jxccache/a;)Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/a;->a()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->a(Ljava/lang/String;)V

    goto :goto_0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private d()V
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/order/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/order/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/d/a;->e()Z

    move-result v0

    if-eqz v0, :cond_4

    const-string/jumbo v1, ""

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->v()Ljava/lang/Boolean;

    move-result-object v3

    if-eqz v3, :cond_1

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->v()Ljava/lang/Boolean;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v3

    if-eqz v3, :cond_1

    iget-object v3, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v3}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v3

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Lcom/waiqin365/base/db/jxccache/f;->m(Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_1
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/a;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/a;->b()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ","

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_5

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/a;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_2
    move-object v1, v0

    goto :goto_1

    :cond_1
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ","

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto/16 :goto_0

    :cond_2
    const-string/jumbo v0, ","

    invoke-virtual {v1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    const/4 v0, 0x0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v1, v0, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "order_sh"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v3

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-static {v0, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v2, Lcom/waiqin365/lightapp/order/j;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/order/j;-><init>(Lcom/waiqin365/lightapp/order/OrderCartActivity;)V

    invoke-static {p0, v1, v0, v2}, Lcom/waiqin365/lightapp/product/e/b;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/waiqin365/lightapp/product/c/g;)V

    :cond_4
    return-void

    :cond_5
    move-object v0, v1

    goto/16 :goto_2
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private e()V
    .locals 3

    const/16 v2, 0x8

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->j()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e:Lcom/waiqin365/lightapp/product/a/x;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e:Lcom/waiqin365/lightapp/product/a/x;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/x;->notifyDataSetChanged()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->C:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->D:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->z:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->C:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->D:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->z:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Lcom/waiqin365/lightapp/product/a/x;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e:Lcom/waiqin365/lightapp/product/a/x;

    return-object v0
.end method

.method private f()V
    .locals 4

    const v3, 0x7f08064d

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->c:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->c:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u00a5"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/e/b;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    sget-object v1, Lcom/waiqin365/lightapp/order/OrderCartActivity;->n:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->I:Lcom/waiqin365/lightapp/view/dj;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setOnSelectClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/view/dj;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->o:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->o:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->I:Lcom/waiqin365/lightapp/view/dj;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setOnSelectClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/view/dj;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->o:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->o:Landroid/widget/Button;

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method private g()V
    .locals 8

    const v7, 0x7f0c0066

    const v6, 0x7f0806b1

    const/4 v3, 0x0

    const v0, 0x7f0c0940

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->x:Landroid/view/View;

    const v0, 0x7f0c0942

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->a:Landroid/widget/ImageView;

    const v0, 0x7f0c0944

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->b:Landroid/widget/TextView;

    const v0, 0x7f0c050f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->o:Landroid/widget/Button;

    const v0, 0x7f0c0511

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->r:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    const v1, 0x7f0301ac

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c0505

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->z:Landroid/view/View;

    const v0, 0x7f0c0506

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->A:Landroid/view/View;

    const v0, 0x7f0c0507

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->B:Landroid/view/View;

    const v0, 0x7f0c0503

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->C:Landroid/view/View;

    const v0, 0x7f0c0504

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->D:Landroid/view/View;

    const v0, 0x7f0c0512

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->E:Landroid/view/View;

    const v0, 0x7f0c0513

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->F:Landroid/view/View;

    const v0, 0x7f0c0916

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    const v2, 0x7f08024d

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    const v2, 0x7f080745

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setHint(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    const-string/jumbo v2, "1"

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->b(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setBottomLineStatus(Z)V

    const v0, 0x7f0c0915

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    const/high16 v2, 0x41600000    # 14.0f

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;->setLabelSize(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;->setBottomLineStatus(Z)V

    const v0, 0x7f0c0914

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->l:Landroid/view/View;

    const v0, 0x7f0c0913

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    const-string/jumbo v2, "1"

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    const v2, 0x7f0801cd

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setBottomLineStatus(Z)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->s:Z

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "seniorVisitId"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setEnabled(Z)V

    :cond_1
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->H:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setEnabled(Z)V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    new-instance v2, Lcom/waiqin365/lightapp/order/k;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/order/k;-><init>(Lcom/waiqin365/lightapp/order/OrderCartActivity;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setOnChangeListener(Lcom/waiqin365/lightapp/view/cn;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    new-instance v2, Lcom/waiqin365/lightapp/order/l;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/order/l;-><init>(Lcom/waiqin365/lightapp/order/OrderCartActivity;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setOnCustomerSelectListener(Lcom/waiqin365/lightapp/view/di;)V

    const v0, 0x7f0c050d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->q:Landroid/view/View;

    const v0, 0x7f0c0502

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->p:Landroid/view/View;

    const v0, 0x7f0c050e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->c:Landroid/widget/TextView;

    const v0, 0x7f0c0510

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->d:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->setHeaderDividersEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->d:Landroid/widget/ListView;

    new-instance v1, Lcom/waiqin365/lightapp/order/m;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/order/m;-><init>(Lcom/waiqin365/lightapp/order/OrderCartActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->b:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "title"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "title"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f080246

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    move-object v1, p0

    move-object v5, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->g:Lcom/waiqin365/compons/view/c;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f0806cf

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/order/n;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/order/n;-><init>(Lcom/waiqin365/lightapp/order/OrderCartActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f080094

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v7}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1, v7}, Lcom/waiqin365/compons/view/c;->a(II)V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    sget v2, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v3, Lcom/waiqin365/lightapp/order/o;

    invoke-direct {v3, p0}, Lcom/waiqin365/lightapp/order/o;-><init>(Lcom/waiqin365/lightapp/order/OrderCartActivity;)V

    invoke-direct {v0, p0, v1, v2, v3}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->i:Lcom/waiqin365/compons/view/c;

    return-void

    :cond_3
    const v0, 0x7f0805f1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/order/OrderCartActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e()V

    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    return-object v0
.end method

.method private h()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->A:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->C:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->E:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->B:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->D:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->F:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private i()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e:Lcom/waiqin365/lightapp/product/a/x;

    if-eqz v0, :cond_2

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->f()V

    :cond_0
    :goto_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->d()V

    :cond_1
    return-void

    :cond_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->j()V

    goto :goto_0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    return-object v0
.end method

.method private j()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_3

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->v()Ljava/lang/Boolean;

    move-result-object v2

    if-eqz v2, :cond_1

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->v()Ljava/lang/Boolean;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/db/jxccache/f;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/b;

    move-result-object v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_0
    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/jxccache/f;->c(Lcom/waiqin365/base/db/jxccache/g;)Z

    goto :goto_0

    :cond_1
    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/db/offlinedata/w;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/f;

    move-result-object v2

    if-eqz v2, :cond_2

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_2
    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/jxccache/f;->c(Lcom/waiqin365/base/db/jxccache/g;)Z

    goto :goto_0

    :cond_3
    return-void
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->p:Landroid/view/View;

    return-object v0
.end method

.method static synthetic p(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->x:Landroid/view/View;

    return-object v0
.end method

.method static synthetic q(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->r:Landroid/view/View;

    return-object v0
.end method

.method static synthetic r(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method static synthetic s(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->i:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method static synthetic t(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    return-object v0
.end method

.method static synthetic u(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic v(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic w(Lcom/waiqin365/lightapp/order/OrderCartActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic x(Lcom/waiqin365/lightapp/order/OrderCartActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f()V

    return-void
.end method


# virtual methods
.method public a(Lcom/waiqin365/base/db/jxccache/g;)V
    .locals 2

    invoke-virtual {p1}, Lcom/waiqin365/base/db/jxccache/g;->v()Ljava/lang/Boolean;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p1}, Lcom/waiqin365/base/db/jxccache/g;->v()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->g:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0805e4

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->g:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->j:Lcom/waiqin365/base/db/jxccache/g;

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->g:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f080246

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    goto :goto_0
.end method

.method public back()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->s:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->i:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f08060a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->i:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->f(Ljava/lang/String;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->h(Ljava/lang/String;)Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->finish()V

    const v0, 0x7f040020

    const v1, 0x7f040023

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->overridePendingTransition(II)V

    goto :goto_0
.end method

.method public hasData(Lcom/fiberhome/gaea/client/a/c;)V
    .locals 4

    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/List;

    if-eqz v0, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/lightapp/order/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/order/d/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/order/d/a;->l()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/jxccache/f;->f(Ljava/lang/String;)Z

    :goto_0
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/jxccache/g;->k(Ljava/lang/String;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/jxccache/g;->b(Ljava/lang/Long;)V

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Lcom/waiqin365/base/db/jxccache/g;)J

    goto :goto_1

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/jxccache/f;->c(Ljava/lang/String;)Z

    goto :goto_0

    :cond_1
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2

    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    sparse-switch p1, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    if-eqz p3, :cond_0

    const-string/jumbo v0, "qrResult"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getBundleExtra(Ljava/lang/String;)Landroid/os/Bundle;

    move-result-object v0

    const-string/jumbo v1, "result"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->b(Ljava/lang/String;)V

    goto :goto_0

    :sswitch_1
    if-eqz p3, :cond_0

    const-string/jumbo v0, "selectedList"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    if-eqz v0, :cond_0

    invoke-static {p0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Ljava/util/List;)Z

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e()V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x123 -> :sswitch_0
        0x3ea -> :sswitch_1
    .end sparse-switch
.end method

.method public onBackPressed()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->back()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 5

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->back()V

    goto :goto_0

    :sswitch_1
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->u:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->h()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    const v0, 0x7f0805b1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->v:Z

    if-eqz v0, :cond_3

    const v0, 0x7f0806df

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_4

    const v0, 0x7f0805a0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e:Lcom/waiqin365/lightapp/product/a/x;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/x;->i()Z

    move-result v0

    if-eqz v0, :cond_5

    const v0, 0x7f0802cf

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_0

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e:Lcom/waiqin365/lightapp/product/a/x;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/x;->j()Lcom/waiqin365/lightapp/b/a;

    move-result-object v0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/b/a;->b:Z

    if-eqz v1, :cond_6

    iget-object v1, v0, Lcom/waiqin365/lightapp/b/a;->c:Ljava/lang/String;

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->showToast(Ljava/lang/String;)V

    :cond_6
    iget-boolean v0, v0, Lcom/waiqin365/lightapp/b/a;->a:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    if-eqz v0, :cond_a

    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/waiqin365/lightapp/order/OrderInfoActivity;

    invoke-direct {v1, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v2}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/jxccache/f;->b(Lcom/waiqin365/base/db/jxccache/a;)Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "order"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_7

    const-string/jumbo v2, "order"

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string/jumbo v4, "order"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    :cond_7
    const-string/jumbo v2, "title"

    iget-object v3, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->b:Landroid/widget/TextView;

    invoke-virtual {v3}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;

    const-string/jumbo v2, "customer"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v0, "supplier"

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->m:Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/AgencySelectView_vertical;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v2, "isSeniorVisit"

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->s:Z

    if-nez v0, :cond_8

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v3, "seniorVisitId"

    invoke-virtual {v0, v3}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    :cond_8
    const/4 v0, 0x1

    :goto_1
    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v0, "storeHouseId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->h()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "seniorVisitId"

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "seniorVisitId"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :cond_9
    const/4 v0, 0x0

    goto :goto_1

    :cond_a
    const v0, 0x7f08072c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->showToast(Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->j:Lcom/waiqin365/base/db/jxccache/g;

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->j:Lcom/waiqin365/base/db/jxccache/g;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->c(Lcom/waiqin365/base/db/jxccache/g;)Z

    move-result v0

    if-eqz v0, :cond_c

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->e()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->f()V

    :cond_b
    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->g:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    goto/16 :goto_0

    :cond_c
    const v0, 0x7f080244

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->showToast(Ljava/lang/String;)V

    goto :goto_2

    :sswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->g:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    goto/16 :goto_0

    :sswitch_4
    const-string/jumbo v0, ""

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->b(Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v0

    if-nez v0, :cond_d

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->h:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_d
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->u:Z

    if-eqz v0, :cond_e

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->w:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->h()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_f

    :cond_e
    const v0, 0x7f0806d0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->showToast(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_f
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/base/qr/OrderCaptureActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/16 v1, 0x123

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0064 -> :sswitch_3
        0x7f0c0066 -> :sswitch_2
        0x7f0c0503 -> :sswitch_5
        0x7f0c0504 -> :sswitch_4
        0x7f0c0506 -> :sswitch_5
        0x7f0c0507 -> :sswitch_4
        0x7f0c050f -> :sswitch_1
        0x7f0c0512 -> :sswitch_5
        0x7f0c0513 -> :sswitch_4
        0x7f0c0942 -> :sswitch_0
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    const/4 v2, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f0301ab

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->setContentView(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/order/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/order/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/d/a;->m()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "modify"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->H:Z

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->b()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isSeniorVisit"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->s:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->s:Z

    if-eqz v0, :cond_0

    const-string/jumbo v0, "order_sv_cache"

    :goto_0
    iput-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->G:Ljava/lang/String;

    const v0, 0x7f0c094b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->g()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->h()V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    return-void

    :cond_0
    const-string/jumbo v0, "order_cache"

    goto :goto_0
.end method

.method protected onResume()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/order/OrderCartActivity;->i()V

    return-void
.end method

.method public onWindowFocusChanged(Z)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->t:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->k:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->b(Z)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/order/OrderCartActivity;->t:Z

    :cond_0
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onWindowFocusChanged(Z)V

    return-void
.end method
